import request from '@/utils/request'

export function getBookList(params) {
  return request({
    url: '/api/booksInfor',
    method: 'get',
    params
  })
}

export function batchDeletebooks(params) {
  return request({
    url: '/api/booksInfor/batchDeletebook',
    method: 'post',
    data: params
  })
}
export function deletebook(params) {
  return request({
    url: '/api/booksInfor/deletebook',
    method: 'post',
    data: params
  })
}

export function updatabook(params) {
  return request({
    url: '/api/booksInfor/updatabook',
    method: 'post',
    data: params
  })
}
